﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ITaskService" in both code and config file together.
[ServiceContract]
public interface ITaskService
{
    [OperationContract]
    TaskData GetTask(long id);

    [OperationContract]
    List<TaskData> GetAllTasks();

    [OperationContract]
    List<TaskData> GetTasksInRange(double latitude, double longitude, double radius);
}
